﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace UI.ProductManagement
{
    public partial class FrmPot0a05 : UI.ParentForm.BaseMain
    {
        FrmPot0a05Edit edit = null;

        public FrmPot0a05(string modulecode, string action)
            : base(modulecode, action)
        {
            InitializeComponent();

            this.tspView.Visible = false;
        }

        protected override void OnAddClick(ToolStripButton btn)
        {
            edit = new FrmPot0a05Edit("A", GetTitleStyle(this.Text, btn.Text), "");
            edit.ShowDialog();
            if (edit.IsReload) base.BindGrid();
        }

        protected override void UpdatePager(UI.Common.Pager pager)
        {
            pager.FilterAppName = "muser";
        }

    }
}
